﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace QMERP.Infrastructure.EFCore.Migrations
{
    /// <inheritdoc />
    public partial class init6 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "EveType",
                table: "RetailOrderDetail",
                newName: "EyeType");

            migrationBuilder.RenameIndex(
                name: "IX_RetailOrderDetail_EveType",
                table: "RetailOrderDetail",
                newName: "IX_RetailOrderDetail_EyeType");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "EyeType",
                table: "RetailOrderDetail",
                newName: "EveType");

            migrationBuilder.RenameIndex(
                name: "IX_RetailOrderDetail_EyeType",
                table: "RetailOrderDetail",
                newName: "IX_RetailOrderDetail_EveType");
        }
    }
}
